package com.blog.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.blog.pojo.dto.NoteDTO;
import com.blog.pojo.entity.Note;

import java.util.List;

public interface NoteService extends IService<Note> {
    IPage<Note> getNoteListPage(Integer currentPage, Integer pageSize, String content);
    void addNote(NoteDTO noteDTO);


    void updateNote(NoteDTO noteDTO);

    void deleteNote(Long id);

    void deleteNotes(List<Long> ids);
}
